<HTML><HEAD><TITLE>writeln(?Term)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">Term I/O</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>writeln(?Term)</H1>
The term Term is written on the current output according to the current
operator declarations.  Equivalent to write(Term),nl.


<DL>
<DT><EM>Term</EM></DT>
<DD>Prolog term.
</DD>
</DL>
<H2>Description</H2>
   Used to write the term Term (followed by a newline) on the current
   output according to the current operator declarations.

<P>

<H3>Modes and Determinism</H3><UL>
<LI>writeln(?) is det
</UL>
<H3>Modules</H3>
This predicate is sensitive to its module context (tool predicate, see @/2).
<H2>Examples</H2>
<PRE>   Equivalent to writeln(output, Term).  (see writeln/2 for details).



</PRE>
<H2>See Also</H2>
<A HREF="../../kernel/ioterm/writeln-2.html">writeln / 2</A>, <A HREF="../../kernel/ioterm/write-1.html">write / 1</A>, <A HREF="../../kernel/iochar/nl-0.html">nl / 0</A>
</BODY></HTML>
